package at.jsug.topicvoting.gwt1.client.logic.event;

import at.jsug.topicvoting.gwt1.client.vo.Topic;

public class DeleteVoteEvent extends AbstractEvent {

	public static final String EVENT_ID = "deleteVote";

	private final Topic voteNotForTopic;

	
	public DeleteVoteEvent(Topic voteNotForTopic) {
		this.voteNotForTopic = voteNotForTopic;
	}

	
	public String getId() {
		return EVENT_ID;
	}

	public String toString() {
		return "DeleteVoteEvent[voteNotForTopic="+voteNotForTopic+"]";
	}
	
	public Topic getVoteNotForTopic() {
		return voteNotForTopic;
	}

}
